package messiah.task;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @author zss
 * @date 2022/4/2 14:39
 * @Email:451682479@qq.com
 */
@Component
public class Task {



    @Scheduled(fixedDelay = 1000)
    public void insertRow() {

        System.out.println("aaaaaaaaaa");

        //String s = mysqlClusterController.test1();

        //String s = mysqlClusterController.insertRow();

//        System.out.println(s);

    }

}
